package com.haoyeteng.sxbd.modular.business.warpper;

import java.util.Map;

import com.haoyeteng.sxbd.core.base.warpper.BaseControllerWarpper;
import com.haoyeteng.sxbd.core.common.constant.factory.ConstantFactory;
import com.haoyeteng.sxbd.core.util.ToolUtil;

public class BillWarpper extends BaseControllerWarpper{

	public BillWarpper(Object obj) {
		super(obj);
	}

	@Override
	protected void warpTheMap(Map<String, Object> map) {
		map.put("billType",ConstantFactory.me().getBillType(ToolUtil.toInt(map.get("billType"))));
		map.put("opererType", ConstantFactory.me().getOpererType(ToolUtil.toInt(map.get("opererType"))));
		map.put("billStatas", ConstantFactory.me().getBillState(ToolUtil.toInt(map.get("billState"))));
		
	}

}
